import request from '@/utils/request';

export const login = (user_name,password) => {
  return request({
    method: 'post',
    url: '/admin/login',
    data:{
        user_name,
        password
    }
  });
};